package com.uzai.console.service.fd;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.uzai.console.dto.fd.fdfollowgroupconfig.FdFollowGroupConfigDto;
import com.uzai.console.dto.fd.fdfollowgroupconfig.FdFollowGroupConfigIdDto;
import com.uzai.console.dto.fd.fdfollowgroupconfig.FdFollowGroupConfigQuery;
import com.uzai.console.dto.fd.fdfollowgroupconfig.FdFollowGroupConfigStatusDto;
import com.uzai.console.vo.fd.fdfollowgroupconfig.FdFollowGroupConfigVo;

/**
 * 发单跟发采集群配置
 * @author liuqi
 * @date 2021年08月13日 11:33
 */
public interface FdFollowGroupConfigService {

    /**
     * 查询发单跟发配置列表
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param query
     * @return null
     */
    Page<FdFollowGroupConfigVo> findFdFollowGroupConfigList(FdFollowGroupConfigQuery query);

    /**
     * 查询发单跟发配置详情
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param fdFollowGroupConfigIdDto
     * @return null
     */
    FdFollowGroupConfigVo findFdFollowGroupConfig(FdFollowGroupConfigIdDto fdFollowGroupConfigIdDto);

    /**
     * 添加发单跟发配置
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param fdFollowGroupConfigDto
     * @return null
     */
    void addFdFollowGroupConfig(FdFollowGroupConfigDto fdFollowGroupConfigDto);

    /**
     * 修改发单跟发配置
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param fdFollowGroupConfigDto
     * @return null
     */
    void updateFdFollowGroupConfig(FdFollowGroupConfigDto fdFollowGroupConfigDto);

    /**
     * 删除
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param fdFollowGroupConfigIdDto
     * @return null
     */
    void deleteFdFollowGroupConfig(FdFollowGroupConfigIdDto fdFollowGroupConfigIdDto);

    /**
     * 设置是否开启
     * @author liuqi
     * @date 2021/8/13 11:38
     * @param fdFollowGroupConfigStatusDto
     * @return null
     */
    void updateStatus(FdFollowGroupConfigStatusDto fdFollowGroupConfigStatusDto);

}
